﻿/*
 * 
 * CMPF - 26/07/2006
 *
 */

using System;
using System.Windows.Forms;
using System.Diagnostics;

namespace Deskalea
{
	public class Starter {
		[STAThread]
		public static void Main()
		{
			if(Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName).GetUpperBound(0)==0) {
				Application.EnableVisualStyles();
				Application.SetCompatibleTextRenderingDefault(false);
				frmDummy dummy = new frmDummy();
				dummy.ShowInTaskbar = false;
				dummy.WindowState = System.Windows.Forms.FormWindowState.Minimized;
				dummy.Visible = false;
				dummy.Opacity = 0;
				dummy.Enabled = true;
				dummy.ShowDialog();
			}
		}
	} //CLASS
} //NAMESPACE
